home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSINESS
/
PICS.LZH
/
UNPACK1.EXE
/
INSTALL.‾BA
< prev
next >
Wrap
Text File
|
1992-08-09
|
2KB
|
107 lines
@echo off
cls
if "%1==" goto hlpinst
if "%2==" goto hlpinst
:loop1
cls
echo Files will be copied to %2\ICP
echo .
pause
if exist %1unpack.exe goto ok1
cls
echo Wrong disk or missing files...
echo Ctrl+"c" to abort
pause
goto loop1
:ok1
cls
echo Copying the PICS/ICP System files to Drive %2\ICP
%2
cd\
md\icp
cd\ICP
if exist inven.dbf goto backup
%1unpack
goto finish
:finish
cls
echo PICS/ICP System files successfully installed.
echo .
echo WARNING! PICS/ICP will not run unless certain system parameters are
echo properly established. Consult the "manual.doc" file for information
echo concerning this process.
echo .
echo Thank you!
echo God Bless!
goto end
:hlpinst
cls
echo The correct syntax is "install <source: target:>"
echo INSTALLATION ABORTED!
goto end
:backup
cls
echo .
echo .
echo Install has detected existing data files. These files will be saved
echo and used in your new program.
echo .
echo .
echo IMPORTANT: You must REINDEX after this installation (see User's Guide).
pause
cls
md %2\icp\ins
rename composit.dbf xcomposi.dbf
rename help.dbf xhelp.dbf
rename inven.dbf xinven.dbf
rename po.dbf xpo.dbf
rename reports.dbf xreports.dbf
rename setup.dbf xsetup.dbf
rename vendors.dbf xvendors.dbf
rename inven.dbt xinven.dbt
rename help.dbt xhelp.dbt
copy x*.dbf %2\icp\ins
copy x*.dbt %2\icp\ins
del install.bat
del *.doc
del icp.exe
del setup.exe
del rl.exe
del i_*.frm
del i_*.lbl
del compo1.ntx
del compo2.ntx
del descript.ntx
del dhelp.ntx
del item.ntx
del make.ntx
del part.ntx
del po.ntx
del porpt.ntx
del reports.ntx
del spec.ntx
del vendor.ntx
del vendors.ntx
%1unpack
copy %2\icp\ins\*.* %2\icp
transfer
del x*.dbf
del x*.dbt
del transfer.exe
cls
goto finish
:end